package com.creative.accountsdk.net.account;

import com.creative.accountsdk.net.Protocol;
import com.creative.accountsdk.net.XParams;
import com.loopj.android.http.RequestParams;

import org.json.JSONObject;

/**
 * 密码找回
 * Created by yinjialiang on 15-6-23.
 */
public class FindPasswordProtocol extends Protocol{
    private String email;

    public FindPasswordProtocol(String email)
    {
        this.email = email;
    }

    @Override
    public RequestParams getParams() {
        return new XParams().put("email", email).getParams();
    }

    @Override
    public String getUrl() {
        return getUrlPrefix() + "smail/rpwd";
    }

    @Override
    protected void parseReturnMap(JSONObject returnMap) {

    }
}
